[Top] [Prev] [Next] [Bottom] [Contents]

SaSetDoCommonLog

Sets a flag indicating whether a Sapphire server application should use the native OS login information as the database login information.

Synopsis

#include "SaRnHtml.h"
int SaSetDoCommonLog SUTPROTO((int flag));

Arguments

A flag indicating whether to use the native OS login information as also the database login information.

Return Values

Returns 0.

Description

Sets a flag indicating whether a Sapphire server application should use the native OS login information as the database login information.This should only be used on operating systems that support a native login function. By default Sapphire will not use native login information for the database login. To save a step for the user where the info is the same, set this one property. To use this function, you must call it from the final code of the main function. Also you must add a login HTML file with certain form elements. See the apploginform.html file in the Sapphire config/htmlstyle directory for the name of the form elements or use the file as is.

Example

SaSetDoCommonLog(1);

See Also



[Top] [Prev] [Next] [Bottom] [Contents]

info@bluestone.com
Copyright © 1997, Bluestone. All rights reserved.